<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Flex布局</title>
    <style>
        .div-tool {
            width: 600px;
            height: 170px;
            border: 1px solid #ccc;
            padding: 2px;
            border-radius: 5px;

            display: flex;
            align-items: center;
        }

        .show-tool {
            flex: 1;
            
            display: flex;

            margin: 0;
            padding: 0;
        }

        .show-tool li {
            flex: 1;
            list-style-type: none;
        }

        .show-tool a {
            display: flex;
            flex-direction: column;
            align-items: center;
            /* text-align: center; */
        }

        .tool-img {
            width: 50px;
            height: 50px;
        }

        .tool-img+p {
            font-size: 12px;
            margin: 0;
        }
    </style>
</head>

<body>
    <div class="div-tool">
        <ul class="show-tool">
            <li>
                <a href="https://www.situ.edu.cn/">
                    <img class="tool-img" src="../../images/shen-small.png" />
                    <p>沈阳工学院</p>
                </a>
            </li>
            <li>
                <a href="https://www.situ.edu.cn/">
                    <img class="tool-img" src="../../images/shen-small.png" />
                    <p>沈阳工学院</p>
                </a>
            </li>
            <li>
                <a href="https://www.situ.edu.cn/">
                    <img class="tool-img" src="../../images/shen-small.png" />
                    <p>沈阳工学院</p>
                </a>
            </li>
            <li>
                <a href="https://www.situ.edu.cn/">
                    <img class="tool-img" src="../../images/shen-small.png" />
                    <p>沈阳工学院</p>
                </a>
            </li>
        </ul>
    </div>
</body>

</html>